part of 'theme.dart';

class AboutPageTextTheme {
  const AboutPageTextTheme._internal({
    required this.appInfoTitle,
    required this.appInfoSubtitle,
  });

  factory AboutPageTextTheme.light() {
    return AboutPageTextTheme._internal(
      appInfoTitle: AboutPageStyles.appInfoTitleTextStyle.copyWith(
        color: CoreStyles.defaultDarkTextColor,
      ),
      appInfoSubtitle: AboutPageStyles.appInfoSubtitleTextStyle.copyWith(
        color: CoreStyles.defaultDarkTextColor,
      ),
    );
  }

  factory AboutPageTextTheme.dark() {
    return AboutPageTextTheme._internal(
      appInfoTitle: AboutPageStyles.appInfoTitleTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      appInfoSubtitle: AboutPageStyles.appInfoSubtitleTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
    );
  }

  final TextStyle appInfoTitle;
  final TextStyle appInfoSubtitle;
}
